<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Test Case for Issue #2914</title>
</head>
<body>

<h1>Issue #2914</h1>

<p>This test-case is intended for <a href="http://code.google.com/p/fbug/issues/detail?id=2914">Issue #2914</a>
- <span class="h3">parent.window.console.error() called from an IFRAME fails to log anything</span>.
<br/>
<i>Jan Odvarko, odvarko@gmail.com</i>
</p>

<ol>
<li>Open Firebug and enable the Console panel.</li>
<li>Reload this page</li>
<li>You should see two logs in the Console panel (the error log is coming from an iframe).<br/>
<code>parent log</code><br/>
<code style="color:red">iframe error</code>
</li>
<li>If you expand <code>iframe error</code> log, you should see following stack trace:<br/>
<code>logError()</code><br/>
<code>issue2914-innerFrame.html()</code><br/>
</li>
</ol>

<script type="text/javascript">
window.console.log("parent log");
</script>

<iframe src="issue2914-innerFrame.html" height="30"></iframe>
</script>

</body>
</html>
